ImageGear Professional v18.4 > User Guide > Using ImageGear > Optical Character Recognition > Checking > Applying Checking > Applying Spell Checking |
The spelling languages available in the current recognition engine configuration can be enumerated with the IG_REC_spelling_language_first_get() / IG_REC_spelling_language_next_get() function pair and the IG_REC_vertical_dict_available_count_get(), IG_REC_vertical_dict_available_desc_len_get(), IG_REC_vertical_dict_available_desc_get() functions. The application can specify a language setting as the spelling language, valid for the next page or pages with the IG_REC_spelling_language_set() subroutine.
Additionally, vertical language checking can also be activated when one of the Vertical dictionaries (e.g., "Dutch Legal Dictionary") has been set through the IG_REC_vertical_dict_enable () call.
Configuring the Checking Subsystem to Use English Spell Checking
C |
Copy Code
|
---|---|
AT_ERRCOUNT nErrCount; nErrCount = IG_REC_spelling_is_enabled_set(TRUE); nErrCount = IG_REC_correction_is_enabled_set(TRUE); nErrCount = IG_REC_spelling_language_set(IG_REC_LANG_ENG); |
When the spelling language is set to IG_REC_LANG_NO, or when it specifies a language for which there is no Language dictionary, the language checking will not be activated for the zones of the page.
Spell Checking with Automatic Spell Language Selection
In the special (default) case, when the specified Spelling language is set to IG_REC_LANG_AUTO, the language checking will be performed based on the recognition language selection ( IG_REC_languages_set() ) as follows: